package cn.stylefeng.guns.modular.userInfo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author lauyang
 * @since 2020-04-18
 */
@TableName("user_info")
public class UserInfo implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户头像
     */
    @TableField("avatar_url")
    private String avatarUrl;

    /**
     * 用户昵称
     */
    @TableField("nick_name")
    private String nickName;

    /**
     * 余额
     */
    @TableField("money")
    private Float money;

    /**
     * 佣金
     */
    @TableField("commission")
    private Float commission;

    /**
     * 上级id
     */
    @TableField("superior_id")
    private Long superiorId;

    /**
     * 用户类型
     */
    @TableField("user_type")
    private String userType;

    /**
     * 会员等级
     */
    @TableField("member_level")
    private String memberLevel;

    /**
     * 微信号
     */
    @TableField("wechat_number")
    private String wechatNumber;

    /**
     * 电话号码
     */
    @TableField("tel")
    private String tel;

    /**
     * 开户人姓名
     */
    @TableField("bank_user_name")
    private String bankUserName;

    /**
     * 开户行名称
     */
    @TableField("bank_name")
    private String bankName;

    /**
     * 银行卡号
     */
    @TableField("bank_card")
    private String bankCard;

    /**
     * 开户行地址
     */
    @TableField("bank_addr")
    private String bankAddr;

    /**
     * 创建时间
     */
    @TableField("creat_time")
    private Date creatTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public Float getCommission() {
        return commission;
    }

    public void setCommission(Float commission) {
        this.commission = commission;
    }

    public Long getSuperiorId() {
        return superiorId;
    }

    public void setSuperiorId(Long superiorId) {
        this.superiorId = superiorId;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getMemberLevel() {
        return memberLevel;
    }

    public void setMemberLevel(String memberLevel) {
        this.memberLevel = memberLevel;
    }

    public String getWechatNumber() {
        return wechatNumber;
    }

    public void setWechatNumber(String wechatNumber) {
        this.wechatNumber = wechatNumber;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getBankUserName() {
        return bankUserName;
    }

    public void setBankUserName(String bankUserName) {
        this.bankUserName = bankUserName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    public String getBankAddr() {
        return bankAddr;
    }

    public void setBankAddr(String bankAddr) {
        this.bankAddr = bankAddr;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
        "id=" + id +
        ", avatarUrl=" + avatarUrl +
        ", nickName=" + nickName +
        ", money=" + money +
        ", commission=" + commission +
        ", superiorId=" + superiorId +
        ", userType=" + userType +
        ", memberLevel=" + memberLevel +
        ", wechatNumber=" + wechatNumber +
        ", tel=" + tel +
        ", bankUserName=" + bankUserName +
        ", bankName=" + bankName +
        ", bankCard=" + bankCard +
        ", bankAddr=" + bankAddr +
        ", creatTime=" + creatTime +
        "}";
    }
}
